package com.ibeetl.cms.entity;
import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.*;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.TailBean;
import java.math.*;
import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/*
 *
 * gen by Spring Boot2 Admin 2018-10-30
 */
public class DeclareLimit extends BaseEntity{
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID
    private Integer id ;
    //申报类型

    @Dict(type="buinessType")
    private Integer declareType ;
    //申报名
    private String declareName ;
    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date startTime ;
    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date endTime ;

    //创建时间
    @UpdateIgnore
    private Date createTime ;
    /*逻辑删除标志*/

    @InsertIgnore
    @LogicDelete(value = 1)
    private String delFlag ;
    public DeclareLimit()
    {
    }
    public Integer getId(){
        return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }
    /**申报类型
     *@return
     */
    public Integer getDeclareType(){
        return  declareType;
    }
    /**申报类型
     *@param  declareType
     */
    public void setDeclareType(Integer declareType){
        this.declareType = declareType;
    }
    /**申报名
     *@return
     */
    public String getDeclareName(){
        return  declareName;
    }
    /**申报名
     *@param  declareName
     */
    public void setDeclareName(String declareName){
        this.declareName = declareName;
    }
    /**开始时间
     *@return
     */
    public Date getStartTime(){
        return  startTime;
    }
    /**开始时间
     *@param  startTime
     */
    public void setStartTime(Date startTime){
        this.startTime = startTime;
    }
    /**结束时间
     *@return
     */
    public Date getEndTime(){
        return  endTime;
    }
    /**结束时间
     *@param  endTime
     */
    public void setEndTime(Date endTime){
        this.endTime = endTime;
    }
    /**创建时间
     *@return
     */
    public Date getCreateTime(){
        return  createTime;
    }
    /**创建时间
     *@param  createTime
     */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    public String getDelFlag(){
        return  delFlag;
    }
    public void setDelFlag(String delFlag){
        this.delFlag = delFlag;
    }
}